gtk-demo: Set line height from markup
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2021 17:48:26 +0000 (13:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Aug 2021 19:15:50 +0000 (15:15 -0400)
Keep the import-markup code in sync with GtkTextBuffer.

demos/gtk-demo/fontify.c

index 8eb3c148f40202a04ec7887a24583a9c5ab50041..2ceeab94168c7ad58bee94881d40d0cb0726730c 100644 (file)
@@ -257,6 +257,9 @@ insert_tags_for_attributes (GtkTextBuffer     *buffer,
 
 #if PANGO_VERSION_CHECK(1,49,0)
         case PANGO_ATTR_LINE_HEIGHT:
+          FLOAT_ATTR (line_height);
+          break;
+
         case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT:
           break;
 #endif